/* 
 * File:   serverplayer.h
 * Author: iezahel
 *
 * Created on December 28, 2008, 6:24 PM
 */

#ifndef _SERVERPLAYER_H
#define	_SERVERPLAYER_H

#include "pong.h"
#include "player.h"

class ServerPlayer : public Player {

private:
    TCPsocket tcp_server_socket; /* Socket descriptor to listen for incoming connections */

public:    
    ServerPlayer(short port = DEFAULT_PORT_NUMBER);
    ServerPlayer(const ServerPlayer& orig);
    virtual ~ServerPlayer();

    GAME_ERROR_CODES InitNetworkConnection();
};

#endif	/* _SERVERPLAYER_H */

